projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82f8183
)
Fix PGTK build with xwidgets
author
Po Lu
<luangruo@yahoo.com>
Sat, 22 Jan 2022 12:28:22 +0000
(20:28 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Sat, 22 Jan 2022 12:28:22 +0000
(20:28 +0800)
* src/xwidget.c: Swap some preprocessor definitions around.
Reported by IƱigo Serna <inigoserna@gmail.com>.
src/xwidget.c
patch
|
blob
|
history
diff --git
a/src/xwidget.c
b/src/xwidget.c
index fb66a17acd88df579e274a72c52847bcdfad165c..822bed034945497fbcecbdbe613f305b5d5d0679 100644
(file)
--- a/
src/xwidget.c
+++ b/
src/xwidget.c
@@
-39,8
+39,8
@@
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <webkit2/webkit2.h>
#include <JavaScriptCore/JavaScript.h>
#include <cairo.h>
-#include <cairo-xlib.h>
#ifndef HAVE_PGTK
+#include <cairo-xlib.h>
#include <X11/Xlib.h>
#else
#include <gtk/gtk.h>